package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/11/6.
 */

public class HomeDataBean extends ErrorStatus {


    /**
     * data : {"EATactics":{"id":1,"weekYieldRate":0.3,"precisionRate":0.8,"dayCount":20,"profitRateCount":0.8,"newOpen":{"volume":0.01,"symbolCn":"欧元新西兰元","symbolEn":"EURUSD","cmd":0}},"banners":["http://s.mayiforex.com/banner/forex-kh.jpg","http://s.mayiforex.com/banner/33.jpg"]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * EATactics : {"id":1,"weekYieldRate":0.3,"precisionRate":0.8,"dayCount":20,"profitRateCount":0.8,"newOpen":{"volume":0.01,"symbolCn":"欧元新西兰元","symbolEn":"EURUSD","cmd":0}}
         * banners : ["http://s.mayiforex.com/banner/forex-kh.jpg","http://s.mayiforex.com/banner/33.jpg"]
         */

        private EATacticsBean EATactics;
        private List<String> banners;

        public EATacticsBean getEATactics() {
            return EATactics;
        }

        public void setEATactics(EATacticsBean EATactics) {
            this.EATactics = EATactics;
        }

        public List<String> getBanners() {
            return banners;
        }

        public void setBanners(List<String> banners) {
            this.banners = banners;
        }

        public static class EATacticsBean {
            /**
             * id : 1
             * weekYieldRate : 0.3
             * precisionRate : 0.8
             * dayCount : 20
             * profitRateCount : 0.8
             * newOpen : {"volume":0.01,"symbolCn":"欧元新西兰元","symbolEn":"EURUSD","cmd":0}
             */

            private int id;
            private double weekYieldRate;
            private double precisionRate;
            private int dayCount;
            private double profitRateCount;
            private NewOpenBean newOpen;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getWeekYieldRate() {
                return weekYieldRate;
            }

            public void setWeekYieldRate(double weekYieldRate) {
                this.weekYieldRate = weekYieldRate;
            }

            public double getPrecisionRate() {
                return precisionRate;
            }

            public void setPrecisionRate(double precisionRate) {
                this.precisionRate = precisionRate;
            }

            public int getDayCount() {
                return dayCount;
            }

            public void setDayCount(int dayCount) {
                this.dayCount = dayCount;
            }

            public double getProfitRateCount() {
                return profitRateCount;
            }

            public void setProfitRateCount(double profitRateCount) {
                this.profitRateCount = profitRateCount;
            }

            public NewOpenBean getNewOpen() {
                return newOpen;
            }

            public void setNewOpen(NewOpenBean newOpen) {
                this.newOpen = newOpen;
            }

            public static class NewOpenBean {
                /**
                 * volume : 0.01
                 * symbolCn : 欧元新西兰元
                 * symbolEn : EURUSD
                 * cmd : 0
                 */

                private double volume;
                private String symbolCn;
                private String symbolEn;
                private int cmd;

                public double getVolume() {
                    return volume;
                }

                public void setVolume(double volume) {
                    this.volume = volume;
                }

                public String getSymbolCn() {
                    return symbolCn;
                }

                public void setSymbolCn(String symbolCn) {
                    this.symbolCn = symbolCn;
                }

                public String getSymbolEn() {
                    return symbolEn;
                }

                public void setSymbolEn(String symbolEn) {
                    this.symbolEn = symbolEn;
                }

                public int getCmd() {
                    return cmd;
                }

                public void setCmd(int cmd) {
                    this.cmd = cmd;
                }
            }
        }
    }
}
